package com.jtjrenren.android.taxi.passenger.base;

import com.library.mvp.MvpPresenter;

/**
 * Created by Administrator on 2016/8/18.
 */

public abstract class BaseMvpActivity<P extends MvpPresenter> extends BaseActivity {
    protected P presenter;

    public abstract P createPresenter();
    public abstract void initM();

    @Override
    public void init() {
        presenter = createPresenter();
        initM();
    }
}
